#include<stdio.h>
// 查询水果价格
int main()
{
    printf("[1] apple\n[2] pear\n[3] orange\n[4] grape\n[0] exit\n");
    int n;
    int cnt = 0;
    scanf("%d", &n);
    cnt++;
    while(cnt <= 5 && n != 0)
    {
        if(n == 1)
        {
            printf("price = 3.00\n");
        }
        else if (n == 2)
        {
            printf("price = 2.50\n");
        }
        else if (n == 3)
        {
            printf("price = 4.10\n");
        }
        else if (n == 4)
        {
            printf("price = 10.20\n");
        }
        else
        {
            printf("price = 0.00\n");
        }
        scanf("%d", &n);
        cnt++;
    }

    return 0;
}